package com.leetroll.common.entity;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * 管理员表
 */
@Data
@ToString
@TableName("comment")
public class Comment extends SuperEntity {

    private static final long serialVersionUID = 1L;

    private Long userId;

    private String rescType;

    private Long rescId;

    private String content;

    private Integer likes = 0;

    private Integer hates = 0;

    private Boolean isParent = false;

    private Boolean show = true;

}
